﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AviumX.AviumCore.Screen.Graphics
{
    class Drawing
    {
        public static void DrawRectangle(uint x, uint y, uint width, uint height, ScreenX.SystemColors Color)
        {
            //Draw's Rectangles.
            AviumX.AviumCore.Screen.CreateScreen.TheScreen.DrawRectToBuffer(x, y, width, height, (uint)Color);
        }
        public static void DrawRectangle(int x, int y, int width, int height, ScreenX.SystemColors Color)
        {
            /*
             * Use the screen handler to handle the draw.
             */
            AviumX.AviumCore.Screen.CreateScreen.TheScreen.DrawRectToBuffer((uint)x, (uint)y, (uint)width, (uint)height, (uint)Color);
        }
        public static void DrawRectangle(Vector location, int width, int height, ScreenX.SystemColors Color)
        {
            /*
             * Use the screen handler to handle the draw.
             */
            AviumX.AviumCore.Screen.CreateScreen.TheScreen.DrawRectToBuffer((uint)location.x, (uint)location.y, (uint)width, (uint)height, (uint)Color);
        }
        public static void DrawRectangle(Vector location, uint width, uint height, ScreenX.SystemColors Color)
        {
            /*
             * Use the screen handler to handle the draw.
             */
            AviumX.AviumCore.Screen.CreateScreen.TheScreen.DrawRectToBuffer((uint)location.x, (uint)location.y, width, height, (uint)Color);
        }
        public static void DrawSquare(uint x, uint y, uint length, ScreenX.SystemColors Color)
        {
            /*
             * use the screen handler to handler the draw.
             */
            AviumX.AviumCore.Screen.CreateScreen.TheScreen.DrawSquareToBuffer(x, y, length, (uint)Color);
        }
    }
}
